<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
 <div>123</div>
 <div>123</div>
 <div>123</div>

 <div>123</div>
 <div>123</div> <div>123</div> <div>123</div> <div>123</div>
  </body>
  <script>
    let arr = ["你好", true, true, "1", 8, "8", [1], [1]];
    let a = [1, 2, 2, "hh", "hh"];
    (arr) => {
      let obj = {};
      for (let i = 0; i < arr.length; i++) {
        if (!obj[arr[i]]) {
          obj[arr[i]] = true;
        }
      }
      let res = Object.keys(obj);
    };

    (function (arr) {
      let res = [];
      for (let i = 0; i < arr.length; i++) {
        if (!arr.includes()) {
          res.push(arr[i]);
        }
      }
      console.log(res, "====");
    });
 function add (){
    console.log(new.target,"====1=");
 }
 add()
 document.addEventListener('readystatechange', event => {
  console.log(event.target.readyStat,"======dsdds");
});
  </script>
</html>
